﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Question.ascx.cs" Inherits="Controls_Question" %>
<div class="content">
    <div class="title">
        <h2>
            Hỏi đáp</h2>
    </div>
    <!--End .title-->
    <div id="faqs">
        <script type="text/javascript">
            $(document).ready(function ()
            {
                //FAQS
                $('dd:not(:first)').hide();
                $('dt a').click(function ()
                {
                    $('dd:visible').slideUp('fast');
                    $('.faqs').removeClass('faqs');
                    $(this).addClass('faqs').parent().next().slideDown('fast');
                    return false;
                });

            })
                            </script>
        <dl>
            <asp:Repeater ID="rptData" runat="server">
                <ItemTemplate>
                    <dt><a class="faqs" href="#link1">
                        <%#Eval("FULL_ARTICLE_TITLE")%></a> </dt>
                    <dd style="display: block;">
                        <p>
                            <%#Eval("ARTICLE_DETAIL")%>
                        </p>
                    </dd>
                </ItemTemplate>
            </asp:Repeater>
        </dl>
    </div>
    <div class="top">
    </div>
    <div class="bottom">
    </div>
</div>
